package com.yygo.service;

import com.yygo.model.LoanRequest;
import com.yygo.model.MaterialAudit;
import com.yygo.model.User;
import com.yygo.webapp.helper.ExtendedPaginatedList;

import java.util.Date;
import java.util.List;

/**
 * Created by tiansha on 2015/11/20.
 */
public interface MaterialAuditManager extends GenericManager<MaterialAudit, Long> {

    List<LoanRequest> searchSendLoanRequests(User user, String status, Date date, String number, String name,String shipNumber, ExtendedPaginatedList paginatedList);

    List<LoanRequest> searchReceiveLoanRequests(User user, String shipNumber, ExtendedPaginatedList paginatedList);

    List<LoanRequest> searchAuditLoanRequests(User user, String number, ExtendedPaginatedList paginatedList);

    List<LoanRequest> searchPrintLoanRequests(User user, String number, ExtendedPaginatedList paginatedList);

}
